.font-bold {
  font-weight: bold;
}

.text-no-wrap {
  white-space: nowrap;
}

$sizeList: 20,
22,
24,
28,
32,
40,
48,
72,
160;

@mixin fontSizeMixin($size) {
  font-size: #{$size}rpx;
}

@each $size in $sizeList {
  .font-#{$size} {
    @include fontSizeMixin($size);
  }
}

$lineHeightList: 36,
38,
40,
44,
48,
50;

@mixin lineHeightMixin($lh) {
  line-height: #{$lh}rpx;
}

@each $lh in $lineHeightList {
  .lh-#{$lh} {
    @include lineHeightMixin($lh);
  }
}